
<form id="form_edit">
<input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td width="20%" align="right">负责人：</td>
		<td width="30%"><input type="text" name="emp" id="emp" value="{[$result.emp]}:{[$result.emp_t]}" size="12" title="{[$t.emp_|emp:'报销人']}"> <input type="checkbox"
			name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}"> 自己</td>
		<td width="20%" align="right">帐号：</td>
		<td width="30%"><input type="text" name="username" value="{[$result.username]}" size="12"></td>
	</tr>
	<tr>
		<td align="right">设备：</td>
		<td><input type="text" name="mac" size="16" value="{[$result.mac]}"></td>
		<td align="right">节点：</td>
		<td><input type="text" name="gw_id" size="12" value="{[$result.gw_id]}"></td>
	</tr>
	<tr>
		<td align="right">名称：</td>
		<td colspan="3"><input type="text" name="name" size="16" value="{[$result.name|default:$result.brand]}">{[$result.brand]}</td>
	</tr>
	<tr>
		<td align="right">UA：</td>
		<td colspan="3"><textarea rows="3" name="ua" cols="50">{[$result.ua]}</textarea></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="4" name="content" cols="50">{[$result.content]}</textarea></td>
	</tr>
	<tr>
		<td align="right">状态：</td>
		<td colspan="3"><select name="status">
			{[html_options options=$status_option selected=$result.status]}
		</select></td>
	</tr>
</table>
</form>

<script type="text/javascript"
	src="js/wifi/node/add.js?r={[$smarty.now]}"></script>
